package com.zy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    @TableId(type = IdType.AUTO)//自增id
    /**
     * id
     * 姓名
     * 昵称
     * 微信凭证
     * 电话号码
     * 电子邮箱
     * 职位
     * 生日
     */
    private Integer id;
    private String name;
    private String nickName;
    private String openId;
    private String phone;
    private String email;
    private String post;
    private String birthday;
    private String path;
    private String letter;

    public User(Integer id) {
        this.id = id;
    }
}
